import java.net.Socket;

/**
 * @author 乐心湖
 * @version 1.0
 * @date 2021/9/8 18:55
 */

public class MyClientSocket {
    //维护当前客户端进程的socket
    private static Socket socket;
    //socket重启的热更新
    private static boolean oosUpdated = false;
    //socket重启的热更新
    private static boolean oisUpdated = false;

    public static boolean isOosUpdated() {
        return oosUpdated;
    }

    public static void setOosUpdated(boolean oosUpdated) {
        MyClientSocket.oosUpdated = oosUpdated;
    }

    public static boolean isOisUpdated() {
        return oisUpdated;
    }

    public static void setOisUpdated(boolean oisUpdated) {
        MyClientSocket.oisUpdated = oisUpdated;
    }

    public static Socket getSocket() {
        return socket;
    }

    public static void setSocket(Socket socket) {
        MyClientSocket.socket = socket;
    }
}
